class Card(object):
    def __init__(self, shortTitle, title, code):
        self.shortTitle=shortTitle
        self.title=title
        self.code=code
    def __str__(self):
        return self.__repr__()
    def __repr__(self):
        return "Card %s (%s)"%(self.code,self.shortTitle)
class Situation(Card):
    def __init__(self, shortTitle, title, code,):
        Card.__init__(self,shortTitle,title, code)

class Hazard(Card):
    def __init__(self, shortTitle, title, code):
        Card.__init__(self,shortTitle,title, code)
#        self.icon=icon
   #     self.description=description

class Action(Card):
    def __init__(self, shortTitle, title, code):
        Card.__init__(self,shortTitle,title, code)
 #       self.icon=icon
  #      self.description=description


 

        
#if __name__=="__main__":
    #c=Situation("blah","Bigger blah","1","2,")
   # d=Card("another", "another card")
   # e=Hazard("Dogs","Rabid Dogs", "dog.png", "D1", "Freakin dogs, man.")
#    print c.title
#    print d.title
#    print e.code
